#include "urcontrol.hpp"

int main(int argc, char ** argv)
{
    if(argc!=3)
    {
        std::cout<<"example usage: "<<argv[0]<<" 192.168.1.2 try.script\n";
        URControl("192.168.1.13").SendScript(URControl::SampleScript("192.168.1.12",12345));
        return 1;
    }
    if(URControl(argv[1]).SendScriptFile(argv[2]))
        return 0;
    return 2;
}
